body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5em;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a{
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 5px;
  border-radius: 5px;
  box-shadow: 5px 5px 5px #eee;
}

a {
  color: #000;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid;
}

a:hover, a:focus {
  background-color: rgba(255, 215, 0, 0.37);
  border-radius: 3px;
}

.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.0em; }
.subtitle {  
  font-size: 0.7em; 
  border-bottom: 1px dashed;
}
footer a { text-decoration: none; }
hr {
  margin: 25px auto;
  height: 1px;
  overflow: hidden;
  border: none;
  background: #e5e5e5;
}

/* code */
pre {
  border-radius: 5px;  
  padding: 1em;
  overflow-x: auto;
  background: #FAFAFA;
}
code {
  padding: 0.5px 5px;
  border-radius: 3px;
  border: 1px solid #ddd;
}
pre code { 
  background: none;
  border: none;
  padding: 0;
}

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee }
li {
  margin: 8px 0;
}
br {
  display: block;
  margin: 8px 0;
  line-height: 22px;
  content: " ";
}
